package com.principle.adapter.interfaceadapter;

public class A {
    public static void main(String[] args) {
        AbsAdapter adapter=new AbsAdapter(){
            @Override
            public void operation2() {
                System.out.println("使用了operation2()");
            }
        };
        adapter.operation2();

    }
}
